<?php 

/**
* sns表模型
*/
class SnsModel 
{
	
	public function row()
	{
		$sql = "select * from sns limit 1";

		return  M()->query($sql);
	}


	public function news()
	{
		$sql = "select * from sns order by create_time1 desc limit 1";
		return  M()->query($sql);
	}
}

















 ?>